package com.prp.gwt.client;

public interface ClientConstants{
	public static final String JS_CONSTANTS = "constants";
	public static final int INDEX_HOME  = 0;
	public static final int INDEX_PHP = 1;
	public static final int INDEX_FRIEND = 2;
	public static final int INDEX_PROFILE = 3;
	public static final int INDEX_ARTICLE = 4;
	public static final int INDEX_MAIL = 5;
	
	public static final String MODULE_HOME  = "home";
	public static final String MODULE_PHP = "php";
	public static final String MODULE_FRIEND = "friend";
	public static final String MODULE_PROFILE = "profile";
	public static final String MODULE_ARTICLE = "article";
	public static final String MODULE_MAIL = "mail";
	
	public static final String STAR = "star";
	public static final String NSTAR = "nstar";
	
	public static final int USER_EMAIL = 0;
	public static final int USER_NAME = 1;
	public static final int USER_PASSWORD = 2;
	public static final int USER_PASSWORDCONFIRM = 3;
	public static final int USER_REALNAME = 4;
	public static final int USER_GENDER = 5;
	public static final int USER_AGE = 6;
	
	public static final int SIGNIN_USER = 0;
	public static final int SIGNIN_NOUSER = 1;
	public static final int SIGNIN_PASSERROR = 2;
	public static final int SIGNIN_NOTACTIVATED = 3;
	public static final int SIGNIN_ADMIN = 4;
	public static final int SIGNIN_ROOT = 5;
	
	public static final int USER = 0;
	public static final int ADMIN = 1;
	public static final int ROOT = 2;
	
	public static String ATTR_USER = "user";

	/**
	 *  MAIL_STATE_UNREAD_EXIST_ALL 定义为 邮件状态：未读双方保存
	 */
	public final static int MAIL_STATE_UNREAD_EXIST_ALL = 00;
	/**
	 *  MAIL_STATE_UNREAD_EXIST_SEND 定义为  邮件状态：未读发送方保存
	 */
	public final static int MAIL_STATE_UNREAD_EXIST_SEND = 01;
	/**
	 *  MAIL_STATE_UNREAD_EXIST_RECEIVE 定义为 邮件状态：未读接收方保存
	 */
	public final static int MAIL_STATE_UNREAD_EXIST_RECEIVE = 02;
	/**
	 *  MAIL_STATE_READ_EXIST_ALL 定义为 邮件状态：已读双方保存
	 */
	public final static int MAIL_STATE_READ_EXIST_ALL = 10;
	/**
	 *  MAIL_STATE_READ_EXIST_SEND 定义为 邮件状态：已读发送方保存
	 */
	public final static int MAIL_STATE_READ_EXIST_SEND = 11;
	/**
	 *  MAIL_STATE_READ_EXIST_RECEIVE 定义为 邮件状态：已读接收方保存
	 */
	public final static int MAIL_STATE_READ_EXIST_RECEIVE = 12;
	
}
